/*
 * @Author: 四川华西绿舍建材有限公司
 * @Date: 2024-04-18 14:50:36
 * @LastEditors: 陈波
 * @LastEditTime: 2024-04-19 20:53:33
 * @Description: 
 * @FilePath: \graDesign\src\store\dataScreen.ts
 */
import { defineStore } from "pinia";

const useDataScreen: any = defineStore("dataScreen", {
  state: () => {
    return {
      td3Map: new Map(),
      sacMap: new Map()
    }
  },
  getters: {
    getTD3Map() {
      return this.td3Map;
    },
    getSACMap() {
      return this.sacMap;
    }
  },
  actions: {
    setTD3Map(model) {
      this.td3Map = model;
    },
    setSACMap(model) {
      this.sacMap = model;
    }
  }
})

export default useDataScreen;
